package com.wrs.examsystem.mapper;

import com.wrs.examsystem.entity.Student;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 王荣升
 * @since 2024-05-15
 */
@Mapper
public interface StudentMapper extends BaseMapper<Student> {
//    @Update("update student set student_name=#{studentName},student_sex =#{studentSex},student_class = #{studentClass} where student_number=#{studentNumber};")
    Integer updateStudentInformation(@Param("studentNumber") String studentNumber, @Param("studentSex") int studentSex, @Param("studentClass") String studentClass,@Param("studentName") String studentName);

}
